package com.example.demo.设计模式.模板模式;

/**
 * @description:
 * @projectName:demo
 * @see:设计模式.模板模式
 * @author:袁成龙
 * @createTime:2020/10/13 9:18
 * @version:1.0
 */
public abstract class Test01 {

    public void gohome(){
        System.out.println("====带行李");
        System.out.println("====安检");
        jiaotong();
        System.out.println("======回家");
    }

    public abstract void jiaotong();

}